package com.lianzai.ticket.service.impl;

import com.lianzai.ticket.dao.GiftDao;
import com.lianzai.ticket.dao.TicketDao;
import com.lianzai.ticket.model.Gift;
import com.lianzai.ticket.model.Ticket;
import com.lianzai.ticket.service.GiftService;
import com.lianzai.ticket.service.TicketService;
import org.apache.commons.collections.map.HashedMap;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class GiftServiceImpl implements GiftService {
	@Autowired
	private GiftDao giftDao;

	@Override
	public List<Gift> queryGiftList(Integer id){
		return giftDao.queryGiftList(id);
	}

}
